package com.xthink.common.pojo.customer;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tb_customer")
public class Customer {
    /*
    * 客户ID
    * */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /*
    * 客户公司名称
    * */
    @TableField("customer_name")
    private String customerName;

    /*
     * 名称
     * */
    @TableField("name")
    private String name;

    /*
     * 手机号
     * */
    @TableField("phone")
    private String phone;

    /*
    * 账号状态
    * */
    @TableField("status")
    private Integer status;

    /*
    * 信用额度
    * */
    @TableField("credit_limit")
    private Integer creditLimit;

    /*
    * 余额
    * */
    @TableField("balance")
    private Integer balance;

    /*
    * 卡号总数
    * */
    @TableField("cards_total")
    private Integer cardsTotal;

    /*
    * 本月周期到卡数
    * */
    @TableField("due_month")
    private Integer dueMonth;

    /*
    * 责任销售
    * */
    @TableField("sale")
    private String sale;

    /*
    * 签约主体
    * */
    @TableField("signing")
    private String signing;

    /*
    * 城市
    * */
    @TableField("city")
    private String city;

    /*
    * 邮箱
    * */
    @TableField("email")
    private String email;

    /*
    * 账号状态
    * */
    @TableField("account_status")
    private Integer accountStatus;

    /*
    * 创建时间
    * */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /*
    * 更新时间
    * */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
